package com.sharewithus.dao.impl;

import java.util.Map;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.sharewithus.dao.IUserDAO;

/**
 * Title:EXDAOImpl
 * Description:test DAO
 * @Create_by:Vince Yu
 * @Create_date:2012-5-4
 * @Last_Edit_By:
 * @Edit_Description
 * @version:partynano 1.0
 * 
 */
@SuppressWarnings("unchecked")
public class UserDAOImpl extends SqlMapClientDaoSupport implements IUserDAO {
	private static final Log log = LogFactory.getLog(UserDAOImpl.class);
	
	@SuppressWarnings("unchecked")
	public int saveUserIntegral(Map param) {
		return Integer.parseInt(this.getSqlMapClientTemplate().insert("saveUserIntegral", param).toString());
	}
}